// JavaScript Document

$(function() {
		   
	// Kein Border-Bottom bei der letzten Zeile einer Tabelle
	$("table tr:last td").css("border","none");

	// Fragen und Antworten
	$("dl dt").next("dd").hide();
	 
	 $("dl dt").click(function(){
         $(this).toggleClass('open').next('dd').slideToggle();
      });

});

$.fn.nextUntil = function(expr) {
    var match = [];

    // We need to figure out which elements to push onto the array
    this.each(function(){
        // Traverse through the sibling nodes
        for( var i = this.nextSibling; i; i = i.nextSibling ) {
            // Make sure that we're only dealing with elements
            if ( i.nodeType != 1 ) continue;

            // If we find a match then we need to stop
            if ( jQuery.filter( expr, [i] ).r.length ) break;

            // Otherwise, add it on to the stack
            match.push( i );
        }
    });

    return this.pushStack( match, arguments );

};